package org.sanm.domain.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.sanm.common.Result;

import java.util.List;

public interface GoodsService extends IService<Goods> {
    public Goods getDetail(Integer id);
    public List<Goods> getByIds(List<Integer> ids);
    public Page<Goods> page(
            Integer pageNum,
            Integer pageSize,
            String name,
            Integer companyId,
            Integer categoryId
    );
}
